<?php

use Illuminate\Routing\Router;

Admin::routes();

Route::group([
    'prefix'     => config('admin.route.prefix'),
    'namespace'  => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware'),
    'as'         => config('admin.route.prefix') . '.',
], function (Router $router) {

    $router->get('/', 'HomeController@index')->name('home');
//    $router->resource('user/wechat', WechatUserController::class);
//    $router->resource('msg/record', WechatTemplateMsgController::class);
//    $router->resource('msg/template', WechatTemplateController::class);
//    $router->resource('msg/list', WechatMsgListController::class);
//    $router->resource('menu/list', WechatMenuController::class);
    $router->resource('wechat/setting', WechatSettingController::class);
//    $router->resource('other/activity', ActivityController::class);
//    $router->resource('form/setting', ExcelSettingController::class);
//    $router->resource('form/list', WpsFormListController::class);
//    $router->resource('form/answer', WpsFormAnswerController::class);
//    $router->resource('excel/template', ExcelTemplateController::class);
    $router->resource('share', ShareController::class);
    $router->resource('tool-user', ToolUserController::class);
    $router->resource('ads', AdController::class);
    $router->resource('ad-logs', AdLogController::class);
    $router->resource('user-points', UserPointController::class);
    $router->resource('flow', FlowController::class);
    $router->resource('logs', LogController::class);
    $router->resource('feedback', FeedbackController::class);
    $router->resource('date-statics', DateStaticsController::class);
    $router->resource('notices', NoticeController::class);
    $router->resource('albums', AlbumController::class);
    $router->resource('photos', PhotoController::class);
    $router->resource('oils', OilController::class);


});
